<%@page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ page import="nc.vo.ebvp.logindex.pojo.Constant"%>
<%@ page import="nc.vo.sm.UserVO"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/WEB-INF/lang-support.tld" prefix="lang-support"%>

<html>
	<head>
		<%
			String basepath = request.getContextPath();
			Boolean isEcSupp = (Boolean)request.getSession().getAttribute(Constant.IS_EC_SUPP);
			String url = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort();
			
			String suppName = "";
			Object obj = session.getAttribute("suppName");
			if (obj != null) {
				suppName = obj.toString();
			}	
		%>
		<script type="text/javascript">
			var ebvp_context="<%=basepath%>";
			var isEcSupp = "<%=isEcSupp%>";
			var strSelLan = "${sel_lan}";
		</script>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title resid="0ec22180-100012">NC 电子商务采购平台-注册企业详细信息</title>

		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/base/base.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/frame/src/css/frame.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/frame/src/css/myframe.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/frame/src/css/header.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/frame/src/css/footer.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/frame/src/css/register.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/frame/src/css/myregister.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/tipinside/src/css/tipinside.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/finish_steps/src/css/finish_steps.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/frame/src/css/bid.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/frame/src/css/validator.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/navigator/src/css/navigator.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/operation_flow/src/css/operation_flow.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/drop_menu/src/css/drop_menu.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/column_menu/src/css/column_men.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basepath%>/commonres/common/frame/src/css/subpage.css" />

		<script type="text/javascript"
			src="<%=basepath%>/commonres/base/jquery-1.7.2.min.js"></script>
		<script type="text/javascript"
			src="<%=basepath%>/commonres/base/common.js"></script>
		<script src="<%=url%>/web/component/webpub/tools/jquery.validation/jquery.validate.js"
			type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript"
			src="<%=basepath%>/commonres/common/frame/src/js/messages_cn.js"></script>
		<script type="text/javascript"
			src="<%=basepath%>/commonres/common/frame/src/js/validate_userinfo.js"></script>
		
		<script type="text/javascript"
			src="<%=basepath%>/commonres/tools/util.js"></script>
		<script type="text/javascript"
			src="<%=basepath%>/commonres/common/drop_menu/src/js/UI.DropMenu.js"></script>
		<script type="text/javascript"
			src="<%=basepath%>/commonres/common/column_menu/src/js/UI.ColumnMenu.js"></script>
		<script type="text/javascript"
			src="<%=basepath%>/commonres/common/operation_flow/src/js/UI.OperationFlow.js"></script>
		<script type="text/javascript"
			src="<%=basepath%>/commonres/common/finish_steps/src/js/UI.FinishSteps.js"></script>
		<script type="text/javascript"
			src="<%=basepath%>/commonres/common/frame/src/js/selfservice_menu.js"></script>
		<script type="text/javascript"
			src="<%=basepath%>/commonres/common/navigator/src/js/UI.Navigator.js"></script>
		<script type="text/javascript"
			src="<%=basepath%>/commonres/common/tipinside/src/js/UI.TipInside.js"></script>
		<script type="text/javascript"
			src="<%=basepath%>/commonres/common/frame/src/js/selfservice_changeuserinfo.js"></script>


		<script type="text/javascript">
			$(function() {
				$( "#defaultlinkmanMaintain" ).parents("ul").find(".current").removeClass("current");
				$( "#defaultlinkmanMaintain" ).addClass("current");
			}); 
			 
			$(function() {
				$( "#changeUserInfoForm input" ).not(".tel_ext,.position").UITipInside({ 'required': true, 'cleaner':false });
			});
			
		//	$(document).ready(function(){
		//		$.commonValidator_changeUserInfoForm("#changeUserInfoForm");
		//	});
			
		</script>
		<lang-support:langres resid="ec22400_0;ec22180_0" filename="selfserv_userinfo.properties"/>
	</head>
	<body>
		<!-- Document Content -->
		<div class="float_center doc_width">
			<div class="doc_content_shadow">
				<div class="doc_content">
					<div id="columnLeft" class="frame_column_left">
					</div>
					
					<div class="frame_right ">
					<div class="location_bar">
						<a href="<%=basepath%>/infopub/pubmain" resid="0ec22400-000012">首页</a>
						<a resid="0ec22180-100151">自助服务</a>
						<span resid="0ec22180-100162">个人信息维护</span>
					</div>
					<div id="tenderQueryForm" class="subpage_query_form pd_10x0px mrg_top10px" style="margin-bottom:10px">
							<form id="changeUserInfoForm" name="changeUserInfoForm"
								method="post">
								<div class="form_row w_100ps">
									<div class="form_title w_80px" resid="0ec22180-100149">
										联系人
									</div>
									<div class="form_field">
										<label>
											<input type="text" id="linkman_default"
												name="linkman_default" value="${currentInfo.linkman_default}"
												class="textfield w_216px pd_5x2px required" />
											<input type="hidden" name="pk_supplier_id"
												value="${currentInfo.pk_supplier_id}" />
											<input type="hidden" name="pk_linkman_default"
												value="${currentInfo.pk_linkman_default}" />
										</label>
									</div>
									<div class="form_title w_400px"></div>
								</div>
								<div class="form_row w_100ps">
									<div class="form_title w_80px" resid="0ec22180-100006">
										公司固话
									</div>
									<div class="form_field tel_region">
										<label>
											<input id="tel_reg_default"
												name="tel_reg_default" value="${currentInfo.tel_reg_default }" class="textfield w_50px pd_5x2px required digits" />
										</label>
									</div>
									<div class="form_field tel_phone">
										<label>
											<input id="tel_phone_default"
												name="tel_phone_default" value="${currentInfo.tel_phone_default }" class="textfield w_80px pd_5x2px required digits" />
										</label>
									</div>
									<div class="form_field tel_ext">
										<label>
											<input id="tel_ext_default" name="tel_ext_default" value="${currentInfo.tel_ext_default }"
												class="textfield w_50px pd_5x2px tel_ext required digits" />
											<input id="tel_default" name="tel_default"
												value="${currentInfo.tel_default}" type="hidden" />
										</label>
									</div>
								</div>
								<div class="form_row w_100ps">
									<div class="form_title w_80px" resid="0ec22180-100007">
										手机
									</div>
									<div class="form_field">
										<label>
											<input type="text" id="mobile_default" name="mobile_default"
												value="${currentInfo.mobile_default}" class="textfield w_216px pd_5x2px required digits"/>
										</label>
									</div>
								</div>
								<div class="form_row w_100ps" >
									<div class="form_title w_80px" resid="0ec22180-100008">
										电子邮箱
									</div>
									<div class="form_field">
										<label>
											<input type="text" id="email_default" name="email_default"
												value="${currentInfo.email_default}" class="textfield w_216px pd_5x2px required email" />
										</label>
									</div>
								</div>
								<div class="form_row w_100ps" >
									<div class="form_title w_80px" resid="0ec22180-100401">
										职务
									</div>
									<div class="form_field">
										<label>
											<input type="text" id="position_default" name="position_default"
												value="${currentInfo.position_default}" class="textfield w_216px pd_5x2px position" />
										</label>
								 </div>
								 <div class="form_row w_100ps" >
								 	<div class="form_title w_80px" resid="0ec22180-100402">
										性别
									</div>
									 <div class="form_field">
										<label>
											<c:if test="${currentInfo.gender_default==1 || null==currentInfo.gender_default}">
												<input name="gender_default"  style="width:65px;" id="gender" type="radio" value="1" checked="checked"/><span><lang-support:wp resid="ec22180_0" key="0ec22180-200198"/></span>
												<input name="gender_default"  style="width:65px;" id="gender" type="radio" value="2" /><span><lang-support:wp resid="ec22180_0" key="0ec22180-200199"/></span>
											</c:if>
											<c:if test="${2==currentInfo.gender_default }">
												<input name="gender_default"  style="width:65px;" id="gender" type="radio" value="1"/><span><lang-support:wp resid="ec22180_0" key="0ec22180-200198"/></span>
												<input name="gender_default"  style="width:65px;" id="gender" type="radio" value="2" checked="checked"/><span><lang-support:wp resid="ec22180_0" key="0ec22180-200199"/></span>
											</c:if>
										</label>
										</div>
									</div>
								</div>
							</form>
						</div>
						
						<div class="bar764_1btn">
							<div class="block1">
								<c:if test="${ERROR_MESSAGE != null}">
									<img
										src="<%=basepath%>/commonres/common/frame/src/img/img_error.png" />${ERROR_MESSAGE}
								</c:if>
								<c:if test="${SUCCESS_MESSAGE != null}">
									<img
										src="<%=basepath%>/commonres/common/frame/src/img/img_success.png" />${SUCCESS_MESSAGE}
								</c:if>
							</div>
							<div class="block2">
								<a  id="changeUserInfoSubmit"
									class="btn_orange"> <span class="w_80px h_22px" resid="0ec22180-100148">提交</span>
								</a>
							</div>
						</div>
						
					</div>
				</div>
			</div>
		</div>
		
		<script type="text/javascript">
			changeLan();
		</script>
		
	</body>
</html>